package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperBasWork implements Serializable {
    private Integer id;

    /**
     * 员工ID
     */
    private Integer wid;

    /**
     * 项目名称
     */
    private String tiltle;

    /**
     * 工作内容
     */
    private String content;

    /**
     * 安排起始时间
     */
    private Date startDate;

    /**
     * 安排结束时间
     */
    private Date endDate;

    /**
     * 完成状态(0--完成，1--未完成)
     */
    private Integer status;

    /**
     * 实际起始时间
     */
    private Date sstartDate;

    /**
     * 实际结束时间
     */
    private Date sendDate;

    /**
     * 进度
     */
    private Double speed;

    /**
     * 插入日期
     */
    private Date indate;

    /**
     * 状态（1-正常；0-已取消；2-已删除）
     */
    private Integer flag;

    /**
     * 是否查看（0-未查看；1-查看）
     */
    private Integer isview;

    /**
     * 备注
     */
    private String comments;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 员工ID
     */
    public Integer getWid() {
        return wid;
    }

    /**
     * 员工ID
     */
    public void setWid(Integer wid) {
        this.wid = wid;
    }

    /**
     * 项目名称
     */
    public String getTiltle() {
        return tiltle;
    }

    /**
     * 项目名称
     */
    public void setTiltle(String tiltle) {
        this.tiltle = tiltle;
    }

    /**
     * 工作内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 工作内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 安排起始时间
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * 安排起始时间
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * 安排结束时间
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * 安排结束时间
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * 完成状态(0--完成，1--未完成)
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 完成状态(0--完成，1--未完成)
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 实际起始时间
     */
    public Date getSstartDate() {
        return sstartDate;
    }

    /**
     * 实际起始时间
     */
    public void setSstartDate(Date sstartDate) {
        this.sstartDate = sstartDate;
    }

    /**
     * 实际结束时间
     */
    public Date getSendDate() {
        return sendDate;
    }

    /**
     * 实际结束时间
     */
    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
    }

    /**
     * 进度
     */
    public Double getSpeed() {
        return speed;
    }

    /**
     * 进度
     */
    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    /**
     * 插入日期
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 插入日期
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 状态（1-正常；0-已取消；2-已删除）
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * 状态（1-正常；0-已取消；2-已删除）
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    /**
     * 是否查看（0-未查看；1-查看）
     */
    public Integer getIsview() {
        return isview;
    }

    /**
     * 是否查看（0-未查看；1-查看）
     */
    public void setIsview(Integer isview) {
        this.isview = isview;
    }

    /**
     * 备注
     */
    public String getComments() {
        return comments;
    }

    /**
     * 备注
     */
    public void setComments(String comments) {
        this.comments = comments;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", wid=").append(wid);
        sb.append(", tiltle=").append(tiltle);
        sb.append(", content=").append(content);
        sb.append(", startDate=").append(startDate);
        sb.append(", endDate=").append(endDate);
        sb.append(", status=").append(status);
        sb.append(", sstartDate=").append(sstartDate);
        sb.append(", sendDate=").append(sendDate);
        sb.append(", speed=").append(speed);
        sb.append(", indate=").append(indate);
        sb.append(", flag=").append(flag);
        sb.append(", isview=").append(isview);
        sb.append(", comments=").append(comments);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperBasWork other = (SuperBasWork) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getWid() == null ? other.getWid() == null : this.getWid().equals(other.getWid()))
            && (this.getTiltle() == null ? other.getTiltle() == null : this.getTiltle().equals(other.getTiltle()))
            && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()))
            && (this.getStartDate() == null ? other.getStartDate() == null : this.getStartDate().equals(other.getStartDate()))
            && (this.getEndDate() == null ? other.getEndDate() == null : this.getEndDate().equals(other.getEndDate()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getSstartDate() == null ? other.getSstartDate() == null : this.getSstartDate().equals(other.getSstartDate()))
            && (this.getSendDate() == null ? other.getSendDate() == null : this.getSendDate().equals(other.getSendDate()))
            && (this.getSpeed() == null ? other.getSpeed() == null : this.getSpeed().equals(other.getSpeed()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getFlag() == null ? other.getFlag() == null : this.getFlag().equals(other.getFlag()))
            && (this.getIsview() == null ? other.getIsview() == null : this.getIsview().equals(other.getIsview()))
            && (this.getComments() == null ? other.getComments() == null : this.getComments().equals(other.getComments()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getWid() == null) ? 0 : getWid().hashCode());
        result = prime * result + ((getTiltle() == null) ? 0 : getTiltle().hashCode());
        result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
        result = prime * result + ((getStartDate() == null) ? 0 : getStartDate().hashCode());
        result = prime * result + ((getEndDate() == null) ? 0 : getEndDate().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getSstartDate() == null) ? 0 : getSstartDate().hashCode());
        result = prime * result + ((getSendDate() == null) ? 0 : getSendDate().hashCode());
        result = prime * result + ((getSpeed() == null) ? 0 : getSpeed().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getFlag() == null) ? 0 : getFlag().hashCode());
        result = prime * result + ((getIsview() == null) ? 0 : getIsview().hashCode());
        result = prime * result + ((getComments() == null) ? 0 : getComments().hashCode());
        return result;
    }
}